//
//  StandardsView.h
//  EasyToTesco2.0
//
//  Created by 杨森 on 16/6/17.
//  Copyright © 2016年 EasyToTesco. All rights reserved.
//

#import <UIKit/UIKit.h>

//代理
@protocol StandardsViewBtnDelegate <NSObject>

//取消
- (void)StandardsViewCancleBtnDidMiss:(UIButton *)button;
/**
 *  确定
 *
 *  @param button   商品规格
 *  @param sizeStr  尺码
 *  @param colorStr 颜色
 *  @param numStr   数量
 *  @param numStr   费率
 */
- (void)StandardsViewConfirmBtnClick:(UIButton *)button sizeStr:(NSString *)sizeStr colorStr:(NSString *)colorStr num:(NSString *)numStr feilvStr:(NSString *)feilvStr;

@end

@interface StandardsView : UIView

@property(nonatomic,strong)UIView *headView;

@property (nonatomic, weak) id<StandardsViewBtnDelegate> delegate;

//商品简介headView
@property(nonatomic,strong)UIImageView *goodsImg;//商品图片
@property(nonatomic,strong) UILabel *nameLabel;//商品名字
@property(nonatomic,strong) UILabel *saleLabel;//价格
@property(nonatomic) NSInteger buyNum;//购买数量

/**
 *  尺寸
 */
@property(nonatomic,strong)NSArray *sizeArray;
/**
 *  颜色
 */
@property(nonatomic,strong)NSArray *colorArray;
/**
 *  费率
 */
@property(nonatomic,strong)NSArray *feilvArray;
/**
 * 规格show
 */
- (void)showStandardsView;
/**
 *  规格消失
 */
- (void)dismissStandardsView;

@end
